home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / devices / narrator.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  1KB  |  62 lines

  1. #ifndef    DEVICES_NARRATOR_H
  2. #define    DEVICES_NARRATOR_H
  3. #ifndef    EXEC_IO_H
  4. #include    "exec/io.h"
  5. #endif
  6. #define    ND_NoMem    -2L
  7. #define    ND_NoAudLib    -3L
  8. #define    ND_MakeBad    -4L
  9. #define    ND_UnitErr    -5L
  10. #define    ND_CantAlloc    -6L
  11. #define    ND_Unimpl    -7L
  12. #define    ND_NoWrite    -8L
  13. #define    ND_Expunged    -9L
  14. #define    ND_PhonErr    -20L
  15. #define    ND_RateErr    -21L
  16. #define    ND_PitchErr    -22L
  17. #define    ND_SexErr    -23L
  18. #define    ND_ModeErr    -24L
  19. #define    ND_FreqErr    -25L
  20. #define    ND_VolErr    -26L
  21. #define    DEFPITCH    110L
  22. #define    DEFRATE    150L
  23. #define    DEFVOL    64L
  24. #define    DEFFREQ    22200L
  25. #define    MALE    0L
  26. #define    FEMALE    1L
  27. #define    NATURALF0    0L
  28. #define    ROBOTICF0    1L
  29. #define    DEFSEX    MALE
  30. #define    DEFMODE    NATURALF0
  31. #define    MINRATE    40L
  32. #define    MAXRATE    400L
  33. #define    MINPITCH    65L
  34. #define    MAXPITCH    320L
  35. #define    MINFREQ    5000L
  36. #define    MAXFREQ    28000L
  37. #define    MINVOL    0L
  38. #define    MAXVOL    64L
  39. struct    narrator_rb    {
  40. struct    IOStdReq    message;
  41. UWORD    rate;
  42. UWORD    pitch;
  43. UWORD    mode;
  44. UWORD    sex;
  45. UBYTE    *ch_masks;
  46. UWORD    nm_masks;
  47. UWORD    volume;
  48. UWORD    sampfreq;
  49. UBYTE    mouths;
  50. UBYTE    chanmask;
  51. UBYTE    numchan;
  52. UBYTE    pad;
  53. };
  54. struct    mouth_rb    {
  55. struct    narrator_rb    voice;
  56. UBYTE    width;
  57. UBYTE    height;
  58. UBYTE    shape;
  59. UBYTE    pad;
  60. };
  61. #endif
  62.